package com.pokeoffice.pokemon;

import java.util.ArrayList;

/**
 * The Class Item.
 *
 * @author justin
 * useful for treating various ailments
 */
public class Item {
	
	/** The name. */
	private String name;
	
	/** The cost. */
	private int cost;
	
	/** The health. */
	private int health;
	
	/** The full health. */
	private boolean fullHealth;
	
	/** The cures. */
	private ArrayList<Status> cures;
	
	/**
	 * ITEMS FOR YOUR POKEMON.
	 *
	 * @param name the name
	 * @param cost the cost
	 * @param health the health
	 * @param fullHealth the full health
	 * @param cures the cures
	 */
	public Item(String name, int cost, int health, boolean fullHealth, ArrayList<Status> cures){
		this.name = name;
		this.cost = cost;
		this.health = health;
		this.fullHealth = fullHealth;
		this.cures = cures;
	}
	
	/**
	 * Gets the name.
	 *
	 * @return the name
	 */
	public String getName(){
		return name;
	}
	
	/**
	 * Gets the cost.
	 *
	 * @return the cost
	 */
	public int getCost(){
		return cost;
	}
	
	/**
	 * Gets the health.
	 *
	 * @return the health
	 */
	public int getHealth(){
		return health;
	}
	
	/**
	 * Gets the full health.
	 *
	 * @return the full health
	 */
	public boolean getFullHealth(){
		return fullHealth;
	}
	
	/**
	 * Gets the cures.
	 *
	 * @return the cures
	 */
	public ArrayList<Status> getCures(){
		return cures;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	public String toString(){
		return name;
	}

}
